package com.dao;

import com.entity.Beinmortgage;
import com.entity.BeinmortgageExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface BeinmortgageDao {
    long countByExample(BeinmortgageExample example);

    int deleteByExample(BeinmortgageExample example);

    int deleteByPrimaryKey(Integer bmid);

    int insert(Beinmortgage record);

    int insertSelective(Beinmortgage record);

    List<Beinmortgage> selectByExample(BeinmortgageExample example);

    Beinmortgage selectByPrimaryKey(Integer bmid);

    int updateByExampleSelective(@Param("record") Beinmortgage record, @Param("example") BeinmortgageExample example);

    int updateByExample(@Param("record") Beinmortgage record, @Param("example") BeinmortgageExample example);

    int updateByPrimaryKeySelective(Beinmortgage record);

    int updateByPrimaryKey(Beinmortgage record);

    Beinmortgage findByServiceid(Integer serviceid);
}